﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Site1.Master" AutoEventWireup="true" CodeBehind="XJuego.aspx.cs" Inherits="BoxScore.Estadisticas.XJuego" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register src="_estOfensivas.ascx" tagname="_estOfensivas" tagprefix="uc1" %>
<%@ Register src="_estDefensiva.ascx" tagname="_estDefensiva" tagprefix="uc2" %>
<%@ Register src="_estPitcheo.ascx" tagname="_estPitcheo" tagprefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="lateral1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="lateral2" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="lateral3" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="contenido" runat="server">

<div>
<h2 class="title">Informacion del Juego</h2>
<br />


</div>



<div>
    Jugador &nbsp;
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
        DataSourceID="ObjectDataSource1" DataTextField="first_name" DataValueField="id">
    </asp:DropDownList>
   
   
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="getPlayerByTeamAndGame" TypeName="BoxScore.Model.BoxScoreBD">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="idteam" 
                QueryStringField="equipo" Type="Int32" />
            <asp:QueryStringParameter DefaultValue="0" Name="idgame" 
                QueryStringField="juego" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    
</div>

<br />

<asp:UpdatePanel runat="server">
    <ContentTemplate>
    
    
    <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
        <asp:TabPanel runat="server" HeaderText="Opciones" ID="general">
            <ContentTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:CheckBox ID="checkBateo" runat="server" Checked="true" 
                                oncheckedchanged="checkBateo_CheckedChanged" Text="Bateo??" AutoPostBack="true" /></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="checkDefensa" runat="server" Checked="true" 
                                oncheckedchanged="checkDefensa_CheckedChanged" Text="Jugo a la Defensiva??" AutoPostBack="true" /></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="checkPitcheo" runat="server" Checked="true"
                                oncheckedchanged="checkPitcheo_CheckedChanged" Text="Pitcho??" AutoPostBack="true" /></td>
                            
                    </tr>
                    
                </table>
            
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel runat="server" HeaderText="Estadisticas Ofensivas" ID="TabPanel1">
            <ContentTemplate>
               <uc1:_estOfensivas ID="_estOfensivas1" runat="server" />
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Estadisticas Defensivas">
            <ContentTemplate>
                <uc2:_estDefensiva ID="_estDefensiva1" runat="server" />
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="Estadisticas Pitcheo">
            <ContentTemplate>
                <uc3:_estPitcheo ID="_estPitcheo1" runat="server" />
            </ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>
    
    <asp:Panel runat="server" ID="Salvar" HorizontalAlign="Center">
        <asp:Button ID="Button1" runat="server" Text="Guardar Estadisticas" 
            onclick="Button1_Click" />
    </asp:Panel>    
    
    </ContentTemplate>

</asp:UpdatePanel>


    

</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="resultados" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="proximos" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="publicidadAjena" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="publicidad" runat="server">
</asp:Content>
